package com.tang;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.sleuth.zipkin.stream.EnableZipkinStreamServer;

/**
 * 詳情请查看https://www.cnblogs.com/shunyang/p/7011303.html这个博客
 */
@SpringBootApplication
@EnableEurekaClient
@EnableZipkinStreamServer// 使用Stream方式启动ZipkinServer
public class ZipkinApplication {

	public static void main(String[] args) {
		SpringApplication.run(ZipkinApplication.class, args);
	}

}
